package com.uwo.house.service;

import com.uwo.house.beans.request.InfoAboutReq;
import com.uwo.house.beans.request.SupplierPartnerReq;
import com.uwo.house.beans.response.*;

import java.math.BigDecimal;
import java.util.List;

/**
 * Created by cyn1c on 2017/8/19.
 */
public interface IAdministratorService {

    int addInfo(InfoAboutReq infoAboutReq);

    InfoAboutResp getCompanyAbout();

    int addServiceFlow(String flowPic);

    String getServiceFlow();

    int addDeliverCompany(String deliverCompany);

    int deleteDeliverCompany(int id);

    List<DeliverCompanyResp> getDeliverCompany(String deliverCompany);

    int addMoneySet(BigDecimal deposit, BigDecimal reward);

    int addSupplierPartner(SupplierPartnerReq supplierPartnerReq);

    int deleteSupplierPartner(int id);

    List<SupplierPartnerResp> getSupplierPartnerList();

    int modifySupplierPartner(SupplierPartnerReq supplierPartnerReq);

    int getRewardMoney();

    BigDecimal getDepositMoney();

    List<MaterialOrderResp> getMaterialOrderList(String orderNo,String supplierNo,String preOrderStatus,String deliverGoodsStatus);

    int placeOrder(Integer id);

    List<MaterialListResp> getMaterialList(String orderId,String supplierNo);

    ShipmentRemarkResp getMaterialDeliverInfo(Integer materialStatusId);

    List<MaterialManageResp> getMaterialManageInfoList(String materialNo, String materialClass, String supplierId);

    int addMaterialInfo(MaterialManageResp materialManageResp);

    MaterialManageResp getMaterialInfoDetail(Integer id);

    int modifyMaterialInfo(MaterialManageResp materialManageResp);

    int deleteMaterialInfo(Integer id);

    List<RewardHistoryResp> getRewardHistoryList(String userName, String rewardStatus);

    int deleteRewardHistory(Integer id);

    int checkConfirm(String orderId);

    List<BillResp> getBillList(String orderId, String identification, String type,String payType);

    int deleteBillInfo(int id);

    void addBillLog(BillResp billResp);

    String getPhoneByMaterialId(int id);
}
